package coml.jiyun.hp.day14_17and20.net;

import coml.jiyun.hp.day14_17and20.bean.BannerBean;
import coml.jiyun.hp.day14_17and20.bean.SecondaryBean;
import coml.jiyun.hp.day14_17and20.bean.WanBean;
import io.reactivex.Flowable;
import io.reactivex.Observable;
import retrofit2.http.GET;

public interface ApiServer {

    String baseUrl = "https://www.wanandroid.com/article/";

    @GET("list/1/json")
    Observable<WanBean>getData();

    String bannerUrl = "https://www.wanandroid.com/";

    @GET("banner/json")
    Observable<BannerBean>getData2();


    String url2="https://www.wanandroid.com/";
    @GET("tree/json")
    Flowable<SecondaryBean> getData3();

}
